package b3.widget.guild
{
	import b3.config.*;
	import b3.model.*;
	import b3.net.*;
	import b3.scene.*;
	import b3.scene.build.*;
	import b3.util.*;
	import b3.widget.*;
	import b3.widget.basic.*;
	import b3.widget.tab.*;
	
	import flash.display.*;
	import flash.events.*;
	import flash.filters.*;
	import flash.text.*;
	
	public class GuildDialog extends TabController
	{
		public function GuildDialog()
		{
			var GuildDialogBgr:Class = ResourceHelper.getInstance().getClassByName("MatchDialogBgr");
			var TabTitleBackground:Class = ResourceHelper.getInstance().getClassByName("MatchTitileBgr");
			var HighlightTitleBgr:Class = ResourceHelper.getInstance().getClassByName("MatchTitileBgr2");
			var CloseButton:Class = ResourceHelper.getInstance().getClassByName("CloseButton1");
			super(GuildDialogBgr, CloseButton);
			this.anchor = BasicWidget.ANCHOR_MIDDLE_MIDDLE;
			var guildInfoTab:GuildInfoTab = new GuildInfoTab();
			this.addTab(TabTitleBackground, guildInfoTab.tabName, guildInfoTab, HighlightTitleBgr);
			var guildMessageTab:GuildMessageTab = new GuildMessageTab();
			this.addTab(TabTitleBackground, guildMessageTab.tabName, guildMessageTab, HighlightTitleBgr);
			var guildFightTab:GuildFightTab = new GuildFightTab();
			this.addTab(TabTitleBackground, guildFightTab.tabName, guildFightTab, HighlightTitleBgr);
			var guildRankTab:GuildRankTab = new GuildRankTab();
			this.addTab(TabTitleBackground, guildRankTab.tabName, guildRankTab, HighlightTitleBgr);
			this.setTabTitlePos(57, -22, 79); 
			this.setTabPagePos(37, 70);
			this.setCloseButtonPos(231, 392);
		}
		
	}
}